<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<link type="text/css" rel="stylesheet" href="<%=basePath%>statics/js/plug/jbox/jBox.css"/>
<script type="text/javascript" src="<%=basePath %>statics/js/plug/jquery.validate.js"></script>
<script type="text/javascript" src="<%=basePath%>/statics/js/plug/jbox/jBox.js"></script>
<script type="text/javascript" src="<%=basePath%>/statics/js/org/department/org_department_add.js"></script>
<style>
<!--

-->

.advanced_table tr{
	height: 35px;
}

.advanced_table tr attr{
	background-color: #fff;
	border: 0;
	margin-top: 10px;
}

.advanced_table tr input{
	width: 325px;
}
</style>
<div class="window-title-bar" style="background-color: white;">
    <h5 class="title">添加部门</h5>
</div>
    <form id="addForm">
        <table class="advanced_table" cellpadding="0" cellspacing="0">
            <tr>
                <td class="attr"><span>名 &nbsp; &nbsp;称：</span></td>
                <td class="attr-content" style="border: 0;">
                    <input id="label" type="text" placeholder="" name="name">
                    <img alt="" src="<%=basePath %>statics/images/common/star.gif" width="9" height="10">
                </td> 
            </tr>
            <tr>
                <td class="attr"><span>代 &nbsp; &nbsp;码：</span></td>
                <td class="attr-content" style="border: 0;">
                    <input id="code" type="text" placeholder="  例：350603" name="code">
                </td>
            </tr>
             <tr>
                <td class="attr"><span>负责人：</span></td>
                <td class="attr-content" style="border: 0;">
                    <input id="principal" type="text"  name="principal">
                    <img alt="" src="<%=basePath %>statics/images/common/star.gif" width="9" height="10">
                    
                </td>
            </tr>
            <tr>
                <td class="attr"><span>联系电话：</span></td>
                <td class="attr-content" style="border: 0;">
                    <input id="phone" type="text" placeholder="例：区号-电话号" name="phone">
                    <img alt="" src="<%=basePath %>statics/images/common/star.gif" width="9" height="10">
                </td>
            </tr>
            <tr>
				<td class="attr">
					<span>排&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;序：</span>
				</td>
				<td class="attr-content" style="border: 0;">
					<input id="sortFlag" type="text" name="sortFlag"> 
					
				</td>
			</tr>
            <tr>
                <td class="attr"><span>上级部门：</span></td>
                <td class="attr-content" style="border: 0;">
                    <input id="departmentAddList" type="text" name="departmentAddList" readonly="readonly"  value="${parent.name }">
                    <input id="parentId" type="hidden" name="parentId" value="${parent.id }" >
                    <img alt="" src="<%=basePath %>statics/images/common/star.gif" width="9" height="10">
                </td>
            </tr>
            <tr>
                <td class="attr"><span>备 &nbsp; &nbsp;注：</span></td>
                <td class="attr-content" style="border: 0;">
                    <input id="remark" type="text" name="remark"  style="width: 325px;">
                </td>
            </tr>
        </table>
         <div class="buttons" style="text-align:  left;margin-left: 10%;">
        <button type="submit" style="margin-top: 15px">添加</button>
        <input type="button" value="重载" onclick="heavyLoad();" style="margin-top: 15px;margin-left: 60px;">
    </div>
    </form>

